﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="HoiDap.aspx.cs" Inherits="SES.CMS.HoiDap" Title="Công ty Intech" %>
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<%@ Register Src="~/Module/ucKhachHangDoiTac.ascx" TagName="ucKhachHangDoiTac" TagPrefix="uc1" %>
<%@ Register Src="~/Module/ucCongTrinhTieuBieu.ascx" TagName="ucCongTrinhTieuBieu"
    TagPrefix="uc2" %>
<%@ Register Src="~/Module/ucSlide.ascx" TagName="ucSlide" TagPrefix="uc3" %>
<%@ Register Src="~/Module/ucSupportOnline.ascx" TagName="ucSupportOnline" TagPrefix="uc4" %>
<%@ Register Src="~/Module/ucTinTuc.ascx" TagName="ucTinTuc" TagPrefix="uc5" %>
<%@ Register Src="~/Module/ucSearch-home.ascx" TagName="ucSearch" TagPrefix="uc6" %>
<%@ Register Src="~/Module/ucTopNoiBat.ascx" TagName="ucTopNoiBat" TagPrefix="uc7" %>
<%@ Register Src="~/Module/ucGioiThieu.ascx" TagName="ucGioiThieu" TagPrefix="uc8" %>
<%@ Register Src="~/Module/ucSanPhamCC.ascx" TagName="ucSanPhamCC" TagPrefix="uc9" %>
<%@ Register Src="~/Module/ucDichVuCC.ascx" TagName="ucDichVuCC" TagPrefix="uc10" %>
<%@ Register Src="~/Module/ucMnuTinTuc.ascx" TagName="ucMnuTinTuc" TagPrefix="uc11" %>
<%@ Register Src="~/Module/ucDownload.ascx" TagName="ucDownload" TagPrefix="uc12" %>
<%@ Register Src="~/Module/ucTopMoi.ascx" TagName="ucTopMoi" TagPrefix="uc13" %>
<%@ Register Src="~/Module/ucGioHang.ascx" TagName="ucGioHang" TagPrefix="uc14" %>
<%@ Register Src="~/Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc15" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .main-content
        {
            width: 480px;
            margin: 5px;
            float: left;
            height: auto;
            padding:5px;
        }
        .row-answer-title
        {
            background-color: #ECECEC;
            float: left;
            font-weight: bold;
            height: 26px;
            line-height: 26px;
            padding-left: 15px;
            text-align: left;
            width: 460px;
            margin-bottom: 25px;
        }
        .row-answer-left
        {
            color: Red;
            font-size: 15px;
            font-weight: bold;
            margin-right: 10px;
        }
        .row-answer-right
        {
            color: #444;
            font-weight: bold;
        }
        .row-answer-content
        {
            width: 460px;
            padding: 5px;
            height: auto;
            border: 1px dotted #ccc;
            border-radius: 5px;
            float: left;
            margin-bottom: 20px;
            background:#fff;
        }
        .row-answer-img
        {
            float: left;
            width: 100px;
            height: 100px;
            margin-right: 5px;
        }
        .row-answer-img img
        { width: 70px;
            height: 70px;
        	}
        .row-answer-cont
        {
            color: #444;
            float: left;
            width: 345px;
            text-align: justify;
        }
        .row-answer-cont2
        {
            float: left;
            width: 345px;
            text-align: justify;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="Content-left">
        <div class="Menu-left">
            <uc8:ucGioiThieu ID="ucGT" runat="server" />
            <uc9:ucSanPhamCC ID="ucSSP" runat="server" />
            <uc10:ucDichVuCC ID="ucDV" runat="server"></uc10:ucDichVuCC>
            <uc11:ucMnuTinTuc ID="icTT" runat="server" />
            <uc12:ucDownload ID="ucDown" runat="server" />
        </div>
    </div>
    <div class="Content-mid">
        <uc15:ucBreadcrumb ID="ucBreadcrumb" runat="server" />
        <div class="main-content">
            <asp:Repeater runat="server" ID="rptHoiDap">
                <ItemTemplate>
                    <div class="row-answer-title">
                        <span class="row-answer-left">Hỏi:</span><span class="row-answer-right"><%#Eval("HoTenNguoiHoi")%>(<%#Eval("Email")%>)</span>
                    </div>
                    <div class="row-answer-content">
                        <div class="row-answer-img">
                            <img alt="answer" title="answer" src="/images/question.png" />
                        </div>
                        <div class="row-answer-cont">
                            <%#Eval("CauHoi") %>
                        </div>
                    </div>
                    <div class="row-answer-title">
                        <span class="row-answer-left">Trả lời:</span><span class="row-answer-right"><%#Eval("NguoiTraLoi")%></span>
                    </div>
                    <div class="row-answer-content">
                        <div class="row-answer-img">
                            <img alt="answer" title="answer" src="/images/solution.png" />
                        </div>
                        <div class="row-answer-cont2">
                            <%#Eval("CauTraLoi") %>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div class="row-answer-title">
                        <span class="row-answer-left">Hỏi:</span><span class="row-answer-right">Gửi câu hỏi cho chúng tôi</span>
                    </div>
         <div class="mail" id="mail">
                    <br />
                    <asp:Label ID="Label2" Text="Họ và tên(*)" Width="90px" runat="server"></asp:Label>
                    <asp:TextBox ID="txtTen" runat="server" Width="320px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="txtTen" Display="Dynamic" ValidationGroup="btn" 
                        ErrorMessage="<%$ Resources:Language, vEmply%>"></asp:RequiredFieldValidator>
                    <br /><br />
                    
                    <asp:Label ID="Label6" Text="Email(*)" Width="90px" runat="server"></asp:Label>
                    <asp:TextBox ID="txtEmail" runat="server" Width="320px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="<%$ Resources:Language, vEmply%>"  ValidationGroup="btn"
                         ValidationExpression="submitGrp" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="<%$ Resources:Language, vErrMail%>" Display="Dynamic"  ValidationGroup="btn"
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    <br /><br />
                    
         
                    <asp:Label ID="Label3" Text="Câu hỏi(*)" Width="90px" runat="server"></asp:Label>
                    <asp:TextBox ID="txtND" runat="server" TextMode="MultiLine" Width="320px" Height="100px" CssClass="txtnd"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"  ValidationGroup="btn"
                        ControlToValidate="txtND" Display="Dynamic" ErrorMessage="<%$ Resources:Language, vEmply%>"></asp:RequiredFieldValidator>
                    <br /><br />
                        
                    <div style="float:left; width:100%;">
                        <div style="float:left;width:170px;">
                            <asp:Label ID="Label4" Text="<%$ Resources:Language, vBV%>" Width="90px" runat="server"></asp:Label>
                            <asp:TextBox ID="txtbv" runat="server"  Width="70px" Height="20px" />
                        </div>
                        <div style="float:left;width:108px; height:31px; margin:0;padding:0;">
                            <cc1:CaptchaControl ID="ccJoin" runat="server" validateIntegratedModeConfiguration="false" CaptchaHeight="31" CaptchaWidth="90" CaptchaBackgroundNoise="Extreme" CaptchaLength="5" /><br />
                        </div>
                    </div><br /><br />
                    <asp:Label ID="Label5" Text=" " Width="90px" runat="server"></asp:Label>
                    
                    <asp:Button ID="ButtonSend" OnClick="ButtonSend_Click"   ValidationGroup="btn" Width="75px" Text="<%$ Resources:Language, btGui%>" runat="server" CssClass="button" />
                    <asp:Label ID="lbLoi" Text="" runat="server"></asp:Label>
                </div>
    </div>
    <div class="Content-right">
        <uc4:ucSupportOnline runat="server" ID="Support1" />
        <uc5:ucTinTuc runat="server" ID="ucTinTuc" />
    </div>
</asp:Content>
